package com.haowan123.qinmeiren.appota2;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TextView;

public class AboutActivity extends Activity{
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.about_activity);
        TextView supportFB=(TextView)findViewById(R.id.supportFB);
        supportFB.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent intent=new Intent(Intent.ACTION_VIEW);
				intent.setData(Uri.parse("http://www.facebook.com/pocketnaruto"));
				startActivity(intent);
			}
		});
	}
@Override
public void finish() {
	super.finish();
	overridePendingTransition(0,R.anim.left_to_right_out); 
}

}
